pp108 : Skipping an Activity

Skipping an Activity

This topic describes the procedure to skip an activity during the execution of a business process.

Before you begin this task:
You must have the Process Administrator role in Process Platform Business Process Engine application package to skip an activity during execution of a business process.

During the execution of a business process, if there is an error in executing a service, the Process Engine aborts the process with an error condition. A process administrator can restart a process, however, you cannot restart the process, if:

  • the service is an insert activity and the insertion failed due to unique key violation in the backend,
  • it is not possible to reach the backend system,
  • there is an unforeseen problem in the execution of the activity, or
  • you want to skip every artifact including sub processes both from the All Process Instances and Graphical views.

In such cases, you can skip the aborted activity and continue the process. If the output from the skipped activity is required for subsequent activities in the business process, the output message of the activity must be provided. The output message provided is updated in the Message Map, and the activity that caused the abortion is skipped during execution and the business process continues.

  1. In the My Applications App Palette, click (Process Instance Manager). The Process Instance Manager appears displaying a list of business processes that have process instances.
  2. Click (Find) on the toolbar. The Filter Process Instances window appears.
  3. Type the selection criteria.
  4. Click OK. All process instances that match the specified criteria appear.
  5. Click the instances for which you want to view the status. The Instances by Process Definition window appears.
  6. Select the aborted process instance whose activity you want to skip and click (Skip Activity). Alternatively, right-click the process instance and select Skip Activity. If the activity you want to skip has an output message defined in the WSDL, then the Message dialog box appears where from it captures the output message.
  7. Type the parameter values and click OK. The business process is continued.

You have successfully skipped the activity of the aborted process instance.

Related tasks

Viewing Process Instances
Viewing a Process Instance in Graphical View
Viewing Activities of a Process Instance
Viewing Sub-processes of a Process Instance
Performing Operations in Process Instance Manager
Viewing the Message and Error Text of a Process Instance
Viewing a Process Instance Message Map

Related reference

Filter Process Instances Interface
Instances by Process Definition Interface